package com.example.mam.service;

import com.example.mam.entity.Manager;
import com.example.mam.util.Condition;

import java.util.List;


public interface ManagerService {

    public abstract Long addManager(Manager manager);

    public abstract Integer deleteManagerById(Long id);

    public abstract Manager getManagerById(Long id);

    public abstract Integer updateManager(Manager manager);

    public abstract Manager getManagerByEmail(String email);

    public abstract Integer freezeManagerAccount(Long id);

    public abstract Integer thawManagerAccount(Long id);

    public abstract Integer restPassword(Manager manager);

    public abstract List<Object> selectManagerByCondition(Condition condition);


}
